package com.qiaofang.dataprocessing.facade;

import com.qiaofang.common.feignset.config.FeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@ComponentScan(basePackages = {"com.qiaofang.dataprocessing","com.qiaofang.*.facade", "com.qiaofang.*.stub"})
@EnableFeignClients(value = "com.qiaofang.*.stub", defaultConfiguration = FeignConfiguration.class)
@MapperScan("com.qiaofang.*.dao.mapper")
@EnableAspectJAutoProxy(exposeProxy = true)
public class DataProcessingApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataProcessingApplication.class, args);
    }

}
